﻿<div class="navbar navbar-inverse" role="navigation">
    <div class="container">
        <div>
            <img src="images/ishatopbanner.png" style="width: 100%; height: auto" class="img-responsive" />
        </div>
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbarMain">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#/">Isha Membership</a>
        </div>
        <!-- Navigation links -->
        <div class="collapse navbar-collapse" id="navbarMain">
            <p class="navbar-text pull-right">
                <span data-ng-hide="header.loggedIn"><a href="#" data-ng-click="header.login()" class="navbar-link">Sign In</a></span>
                <span data-ng-show="header.loggedIn">Logged in as {{header.full_name}}. <a href="#" data-ng-click="header.logout()" class="navbar-link">Sign Out</a></span>
            </p>
            <ul class="nav navbar-nav">
                <li data-ng-repeat="menu in header.menuItems" data-ng-class="(menu.active == true ? 'active' : '')"><a style="cursor:pointer" data-ng-click="changeMenu(menu)" >{{menu.title}}</a></li>
            </ul>
        </div>
    </div>
</div>
